<?php
class StudentProvince extends AppModel {

    public $recursive = -1;
    public $name = 'StudentProvince';
    public $validate = array(
        'name' => array('notempty'),
        'student_count' => array('numeric')
    );

    //The Associations below have been created with all possible keys, those that are not needed can be removed
    public $hasMany = array(
        'Student' => array(
            'className' => 'Student',
            'foreignKey' => 'student_province_id',
            'dependent' => false,
            'conditions' => '',
            'fields' => '',
            'order' => '',
            'limit' => '',
            'offset' => '',
            'exclusive' => '',
            'finderQuery' => '',
            'counterQuery' => ''
        )
    );

}
?>